And free the string...
authorMatthias Clasen <matthiasc@src.gnome.org>
Fri, 6 Jan 2006 21:54:09 +0000 (21:54 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 6 Jan 2006 21:54:09 +0000 (21:54 +0000)
gtk/gtkfilechooserbutton.c

index 18c3d97fcf4f4c70f13c03b4f5e1d37cbecab0b1..7219734ccea93e4ebd256c02c80dd64c2a5d47df 100644 (file)
@@ -1361,6 +1361,7 @@ model_add_special (GtkFileChooserButton *button)
 
       if (pixbuf)
        g_object_unref (pixbuf);
+      g_free (display_name);
       button->priv->n_special++;
 
 #ifndef G_OS_WIN32